﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface IDesertPermissionService
    {
        Task<int> AddDesertPermissionAsync(int staffId,string[] deserId);
        Task<int> EditDesertPermissionAsync(int id, int staffId, string[] deserId);
        Task<int> DeleteDesertPermissionAsync(int id);
        Task<List<DesertPermissionDto>> GetDesertPermissionAllAsync();
        Task<DesertPermissionDto> QueryDesertPermissionByIdAsync(int id);
        //Task<List<JobDto>> QueryDesertPermissionByNameAsync(string title);
    }
}
